Bit recycling for scaling random number generators

نویسنده

  • Andrea Mennucci
چکیده

Many Random Number Generators (RNG) are available nowadays; they are divided in two categories, hardware RNG, that provide “true” random numbers, and algorithmic RNG, that generate pseudo random numbers (PRNG). Both types usually generate random numbers (Xn)n as independent uniform samples in a range 0, . . . 2 − 1, with b = 8, 16, 32 or b = 64. In applications, it is instead sometimes desirable to draw random numbers as independent uniform samples (Yn)n in a range 1, . . . M , where moreover M may change between drawings. Transforming the sequence (Xn)n to (Yn)n is sometimes known as scaling. We discuss different methods for scaling the RNG, both in term of mathematical efficiency and of computational speed.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Method of Systematic Search for Optimal Multipliers in Congruential Random Number Generators

This paper presents a method of systematic search for optimal multipliers for congruential random number generators. The word-size of computers is a limiting factor for development of random numbers. The generators for computers up to 32 bit wordsize are already investigated in detail by several authors. Some partial works are also carried out for moduli of 2 and higher sizes. Rapid advances in...

متن کامل

Source Codes as Random Number Generators ’ Karthik

The use of optimal variable-length source codes as optimal random bit generators is investigated. We show in what sense source codes can be considered to be random bit generators.

متن کامل

Some Notes On Multiplicative Congruential Random Number Generators With Mersenne Prime Modulus 261-1

Multiplicative congruential random number generators of the form sn = a*Sn_i mod m using the Mersenne prime modulus 2-1 are examined. Results show that they can provide sufficiently long pseudo-random sequences that can be implemented efficiently using 64 bit accumulators without the need of a costly division operation. INTRODUCTION Random number generators are widely used in computer simulatio...

متن کامل

Design of low power random number generators for quantum-dot cellular automata

Quantum-dot cellular automata (QCA) are a promising nanotechnology to implement digital circuits at the nanoscale. Devices based on QCA have the advantages of faster speed, lower power consumption, and greatly reduced sizes. In this paper, we are presented the circuits, which generate random numbers in QCA.  Random numbers have many uses in science, art, statistics, cryptography, gaming, gambli...

متن کامل

Portable Random Number Generators

Computers are deterministic devices and a computer-generated random number is a contradiction in terms. As a result, computer-generated pseudorandom numbers are fraught with peril for the unwary. We summarize much that is known about the most well-known pseudorandom number generators: congruential generators. We also provide machine-independent programs to implement the generators in any langua...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1012.4290  شماره 

صفحات  -

تاریخ انتشار 2010